﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace CreateDB.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            MyDBContext db = new MyDBContext();
            db.BK_Articles.ToList();
            db.BK_Artitle_Label.ToList();
            db.BK_Artitle_Sort.ToList();
            db.BK_Comments.ToList();
            db.BK_Labels.ToList();
            db.BK_Photo.ToList();
            db.BK_Sorts.ToList();
            db.BK_Users.ToList();
            db.BK_User_Friends.ToList();
            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your application description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}